package com.easygoods.entity;

import com.easygoods.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
public class MemberInfo extends BaseEntity {
    public static final String GRADE = "grade";
    public static final String MOBILE = "mobile";
    public static final String EMAIL = "email";
    public static final String NICK_NAME = "nickName";
    public static final String PWD = "pwd";
    public static final String PAY_PWD = "payPwd";
    public static final String PWD_SALT = "pwdSalt";
    public static final String REF_MEMBER_ID = "refMemberId";
    public static final String AVATAR_TYPE = "avatarType";
    public static final String AVATAR = "avatar";
    public static final String REGISTER_TIME = "registerTime";
    public static final String STATE = "state";
    public static final String DEFAULT_RECEIVE_ADDRESS = "defaultReceiveAddress";
    public static final String DEFAULT_SEND_ADDRESS = "defaultSendAddress";
    public static final String TOTAL_INVITE_COUPON = "totalInviteCoupon";
    public static final String TOTAL_EARN_CASH = "totalEarnCash";
    public static final String TOTAL_INVITE_FIRST_CASH = "totalInviteFirstCash";
    public static final String TOTAL_INVITE_MANY_CASH = "totalInviteManyCash";
    public static final String TOTAL_TEAM_CASH = "totalTeamCash";
    public static final String REMAIN_CASH = "remainCash";
    public static final String TOTAL_POINT = "totalPoint";

    private Integer grade;
    private String mobile;
    private String email;
    private String nickName;
    private String pwd;
    private String payPwd;
    private String pwdSalt;
    private String refMemberId;
    private String avatarType;
    private String avatar;
    private Date registerTime;
    private String state;
    private String defaultReceiveAddress;
    private String defaultSendAddress;
    private BigDecimal totalInviteCoupon;
    private BigDecimal totalEarnCash;
    private BigDecimal totalInviteFirstCash;
    private BigDecimal totalInviteManyCash;
    private BigDecimal totalTeamCash;
    private BigDecimal remainCash;
    private Integer totalPoint;
}
